import Vue from "vue";
import Vuex, { Store } from 'vuex'
Vue.use(Vuex)

// 引入小仓库
import homeStore from "./homeStore";
import searchStore from "./searchStore";
import detailStore from "./detailStore";
import shopcartStore from "./shopcartStore";

export default new Vuex.Store({
    modules:{
        homeStore,
        searchStore,
        detailStore,
        shopcartStore
    }
})